package org.zzz.entity;

/**
 * @Author ZZF
 * @Time 2021/04/20 21:58
 * 学生表
 */
public class Student {
    //学号
    private String id;
    //学生姓名
    private String name;
    //性别
    private String gender;
    //班级id
    private String classId;


    public Student() {
    }

    public Student(String id, String name, String gender, String classId) {
        this.id = id;
        this.name = name;
        this.gender = gender;
        this.classId = classId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }


    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", classId='" + classId + '\'' +
                '}';
    }
}
